<?php

namespace App\Admin\Form\Field;

use Dcat\Admin\Form\Field\DateRange;

class SelfTimeRange extends DateRange
{
    protected $format = 'HH:mm';
    protected $view = "admin::form.selftimerange";



    public function render()
    {
        $this->options['locale'] = config('app.locale');

        $this->addVariables([
            'options' => $this->options,
            'defaultValue' => $this->default
        ]);

        return parent::render();
    }

}
